var express = require('express');
var router = express.Router();

const ShareController = require('../controller/share');


//创建动态
router.post('/create',ShareController.createShare)
//根据ID查找动态
router.get('/getShareById',ShareController.getShareById)
//分页获取动态
router.get('/getShare',ShareController.getShare)
//模糊查询分页获取动态
router.get('/getGuideSearch',ShareController.getGuideSearch)
module.exports = router;
